<!--  -->
<template>
  <div class="fly-panel" v-show="lists.length > 0">
    <div class="fly-panel-title fly-filter">
      <a>置顶</a>
      <!-- <a href="#signin" class="layui-hide-sm layui-show-xs-block fly-right" id="LAY_goSignin" style="color: #FF5722;">去签到</a> -->
      <a
        @click="gosign()"
        class="fly-right"
        id="LAY_goSignin"
        style="color: #ff5722"
        >去签到</a
      >
    </div>
    <list-item :lists="lists" :isShow="false" :isTop="true"></list-item>
  </div>
</template>

<script>
import ListItem from "./ListItem";
import list from '@/mixin/list'
export default {
  name: "Top",
  mixins: [list],
  components: {
    ListItem,
  },
  data () {
    return {
    };
  },
  methods: {
    gosign () {
      this.$router.push("center");
    },
  },
};
</script>
<style lang="scss" scoped>
.fly-right {
  cursor: pointer;
}
</style>
